/**
 * @author Stefan El-Manakhli
 * @version 1.0
 */
package swa.assignment3.broker;
import java.util.HashMap;
import java.util.Map;

import swa.assignment3.broker.beans.Message;
public class MessageStore {
	private Map<String,Message> map = new HashMap<String,Message>();

	/**
	 * 
	 * @param msg stored the message in a HashMap List
	 */
	public void storemsg(Message msg){
		map.put(msg.getReceiver().getID().toString(), msg);
	}
}
